function [x,fval,exitflag,output,population,score] = generate(nvars,FitnessLimit_Data)
% This is an auto generated MATLAB file from Optimization Tool.

% Start with the default options
options = gaoptimset;
% Modify options setting
options = gaoptimset(options,'FitnessLimit', FitnessLimit_Data);
options = gaoptimset(options,'CreationFcn', @creationFnc);
options = gaoptimset(options,'SelectionFcn', @selectionroulette);
options = gaoptimset(options,'CrossoverFcn', @crossoverFnc);
options = gaoptimset(options,'MutationFcn', @mutationFcn);
options = gaoptimset(options,'Display', 'off');
[x,fval,exitflag,output,population,score] = ...
ga(@fitnessFnc,nvars,[],[],[],[],[],[],[],[],options);
